﻿
using AutoMapper;
using BCCommon;
using BCCommon.Enums;
using BCDto.TMS.WorryFreeMoveSuiteConfigTemplate;
using BCEntity.TMS.WorryFreeMoveSuiteConfigTemplate;
using BCService.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BCService.MapperProfiles.TMS
{
    public class WorryFreeMoveSuiteConfigTemplateProfile : Profile
    {
        public WorryFreeMoveSuiteConfigTemplateProfile()
        {

            //无忧搬家套餐配置模板
            CreateMap<WorryFreeMoveSuiteConfigTemplateDto, WorryFreeMoveSuiteConfigTemplateEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorryFreeMoveSuiteConfigTemplateRequestDto, WorryFreeMoveSuiteConfigTemplatePutDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorryFreeMoveSuiteConfigTemplateRequestDto, WorryFreeMoveSuiteConfigTemplateEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorryFreeMoveSuiteConfigTemplatePutDto, WorryFreeMoveSuiteConfigTemplateEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WorryFreeMoveSuiteConfigTemplateEntity, WorryFreeMoveSuiteConfigTemplateDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

        }
    }
}